import { ref } from 'vue';

export const addDataMap = () => {
  let ggLayer = ref(null);

  //初始化地图文档图层对象
  ggLayer = new Zondy.Map.Doc('guangGuLayer', 'guanggu', {
    ip: 'localhost',
    port: 8089,
    projection: 'EPSG:4326',
    crossOrigin: 'anonymous',
  });
  return ggLayer;
};
